Trihalide-based imidazolium salts as versatile reagents for the halogenation of unsaturated compounds in ionic liquids