Systematic study of optoelectronic and thermoelectric properties of AHfO3 (A = Ca, Ba) perovskites at various pressure via ab-initio calculations