Slow dynamics of water molecules in confined space