Potentials for the hydrogen atoms in normal and deuterated KH2PO4