Tuning optical and thermoelectric properties of LaCoO3: Partial substitution of La by isovalent Gd