Quantum optics with single spins