Application of the Franck—Condon Principle to Molecular Excitation by Collision with Excited Atoms and Molecules