Text this: Full potential study of the elastic, electronic, and optical properties of spinels MgIn2S4 and CdIn2S4 under pressure effect