Structural changes of water in a hydrogel during dehydration.