Chemical synthesis and magnetic properties of HCP and FCC nickel nanoparticles