Magnetotaxis as a means for nanofabrication of bioelectronics