Spectral distribution of high-frequency phonons generated by nonradiative transitions