X-Ray Detected Magnetic Resonance: A New Spectroscopic Tool