Title: Vibrations and rotations of diatomic molecules at surfaces