Phase space model of hard-photon production in heavy-ion collisions