Knicks beat Pistons to go into All-Star break at 19-18