Polymeric onium salts as catalysts in preparative organic chemistry