Electronic structure, stability, photocatalytic and optical properties of new lead-free double perovskites Tl2PtX6 (X = Cl, Br) for light-harvesting applications