Magnetic bacterial protein Mms6 controls morphology, crystallinity and magnetism of cobalt-doped magnetite nanoparticles in vitro†