Simulation of optical spectra of novel Tl 4 CdI 6 and Tl 4 HgI 6 optoelectronic crystals