Magnetically assembled 30 nm diameter nickel nanowire with ferromagnetic electrodes.