Studies of the structure and function of Mms6, a bacterial protein that promotes the formation of magnetic nanoparticles