The Dependence of Magnetic Properties on Diameters of One-Dimensional Nickel Nanostructures