The fabrication and application of Ni-DNA nanowire-based nanoelectronic devices