Structural and magnetic characterization of Ni nanoparticles synthesized in ionic liquids