Using the magnetosome to model effective gene-based contrast for magnetic resonance imaging.