Local nuclear magnetic resonance spectroscopy with giant magnetic resistance-based sensors