Principles of Nuclear Magnetic Resonance Microscopy