High-resolution liquid- and solid-state nuclear magnetic resonance of nanoliter sample volumes using microcoil detectors.