Detecting Fermi-level shifts by Auger electron spectroscopy in Si and GaAs