Red Sox beat Yankees 4-2