Electromagnetic decay of two-phonon states