The Jacobi transition and the giant-dipole resonance in rapidly rotating hot nuclei