Quantum defect approach for the effect of electron–phonon coupling on impurity recombination in semiconductors