Importance of vibrational coupling in the vibrational frequency shifts of diatomic molecules caused by adsorption