Controlled assembly of magnetic biomolecular nanostructures