Electronic and optical properties of ZnSc2S4 and CdSc2S4 cubic spinels by the modified Becke–Johnson density functional