Pyrazolyl-functionalized 2-methylimidazolium-based ionic liquids and their palladium(II) complexes as recyclable catalysts.