X-ray and neutron scattering studies of the structure of water in a hydrogel