Magnetic behavior of arrays of nickel nanowires: Effect of microstructure and aspect ratio