Yankees, looking toward playoff run, acquire Andrew McCutchen from Giants for prospects