Ab initio investigation of the physical properties of Tl based chloroperovskites TlXCl3 (X = Ca and Cd)