Nuclear microprobe analysis of Hg1−xCdxTe metal–semiconductor–metal detectors on substrates of GaAs and GaAs/Si