Quantum complementarity of cavity photons coupled to a three-level system