The role of intermolecular interactions in the viscoelastic properties of polymer melts