Lipid membrane modulated control of magnetic nanoparticles within bacterial systems.