Prediction study of structural, electronic and optical properties of XIn2S4 (X = Hg, Zn) thiospinels under pressure effect