Nickel Alloying Effect on Formation of Cobalt Nanoparticles and Nanowires via Electroless Deposition under a Magnetic Field