Photon condensation and its phase diffusion