Imidazolium modified carbon nanohorns: switchable solubility and stabilization of metal nanoparticles