Photocatalytic and optical properties of (Mg:La) CaTiO3: Insights from first principles studies