Organic macromolecular compounds containing sulfur, selenium or tellurium as ingredients in lubricant compositions