Dynamic electromagnetic polarizabilities of the photon