Neutron scattering study and dynamic properties of hydrogen- bonded liquids in mesoscopic confinement. 1. The water case