Magnetostructural phase transition in electroless-plated Ni nanoarrays