Optical and magnetic-resonance spectroscopy on single molecules door