Highly reversible Mg insertion in nanostructured Bi for Mg ion batteries.