Theoretical analysis of the internal rotation, molecular structures and electronic properties of the XSSX series of molecules (X = H, F, Cl)