1/f noise characterization of n+–p and n–i–p Hg1−xCdxTe detectors