Electronic and optical behaviour of lanthanum doped CaTiO3 perovskite