Second-order quantum-mechanical theory of Coulomb excitation