Accurate methods for simulating electroreflectance and photoreflectance spectra of GaAs