Evidence of glassy behaviour of water molecules in confined states