Self-assembly of magnetic Ni nanoparticles into 1D arrays with antiferromagnetic order