Semiclassical treatment of nuclear effects in Coulomb excitation