Hamels pitches well for Phils, Aceves hit hard