Metal-catalyzed electrophilic processes in ionic liquids