Electronic and optical properties of CdTe under hydrostatic pressure effect