Structure and thermal properties associated with some hydrogen bonds in crystals I. The isotope effect