Study of rotational isomerism in thiophenol, thioanisole, and their polyfluorinated derivatives