Theoretical investigation of the relative stabilities of XSSX and X2SS isomers (X = F, Cl, H, and CH3)