Haloaurate and halopalladate imidazolium salts: structures, properties, and use as precursors for catalytic metal nanoparticles.