magnesium-ion batteries