Structure and thermal properties associated with some hydrogen bonds in crystals VII. Behaviour of KH2PO4 and KH2A sO4 on cooling