Morphology-controlled fabrication and magnetic properties of nickel assemblies