Quantum Phase Transitions in Spin-Boson Systems: Dissipation and Light Phenomena