On a quantum theoretical basis for determination of the dependence of the intramolecular X–H(D) potential on the hydrogen bond strength