Ion dose effect in subgap absorption spectra of defects in ion implanted GaAs and Si