Characterization of HgCdTe and related materials and substrates for third generation infrared detectors