Taking a hard line with biotemplating: cobalt-doped magnetite magnetic nanoparticle arrays.