Theory of the excitation of the vibrational mode of an adatom-substrate system under a resonant laser field