Principles and Application of Self-Diffusion Measurements by Nuclear Magnetic Resonance