Kinetic energy of oxygen atoms in water and in silica hydrogel