Accurate measurement of composition, carrier concentration, and photoconductive lifetime in Hg1−xCdxTe grown by molecular beam epitaxy