Magnetosomes could be protective shields against metal stress in magnetotactic bacteria