A-Rod homers as Yanks top Phils 7-4