David Ortiz homers to lift Boston Red Sox past New York Yankees