Resonant phonon scattering in semiconductors