INELASTIC NEUTRON SCATTERING OF WATER AND ICE IN POROUS SOLIDS