On the rotational isomerism of one rotor molecules. A comparative study of the HSSH and HXNX (X = O,S) series of molecules