Oleic acid as the capping agent in the synthesis of noble metal nanoparticles in imidazolium-based ionic liquids.