Warriors outscore Knicks by 20 points after halftime in win