Coulomb excitation via the giant dipole resonance in spherical nuclei