Organic sulfur compounds containing functional groups