Spatially resolved spectroscopy and structurally encoded imaging by magnetic resonance force microscopy of quadrupolar spin systems.