Electronic structure, absorption coefficient, and auger rate in HgCdTe and thallium-based alloys