Light emission from impurity states in solids: conventional and coherent phonon descriptions