Compounds containing sulfonium groups