Upton, Miley lead Arizona to 9-5 win over Phillies