A nuclear magnetic resonance study of water in clay