Hydrogen bond and dipole moment in sub- and supercritical water close to the saturation curve