High-Resolution Magnetic Field Spectroscopy With Nitrogen-Vacancy Centers In Diamond