The effect of molecular structure of heterocyclic compounds containing N, O and S on their tribological performance