Electronic, optical, and thermoelectric properties of perovskite BaTiO3 compound under the effect of compressive strain