Hydrogen bonding and coordination in normal and supercritical water from X-ray inelastic scattering