The role of molecular interactions in the change of sign of the Soret coefficient