Isotope effect in dihydrogen-bonded systems: application of the analytical energy gradient method in the nuclear orbital plus molecular orbital theory