Diffusion-limited resolution in nuclear magnetic resonance microscopy