Electromagnetic decay of hot rotating nuclei