A quantum theoretic model of vibrational relaxation of a diatomic molecule adsorbed on a surface