Determination of cut-off wavelength and composition distribution in Hg1-xCdxTe