Quantum-optical spectroscopy of a two-level system using an electrically driven micropillar laser as a resonant excitation source