Dissipative quantum phase transition in a quantum dot