Reversible Magnesium Intercalation into a Layered Oxyfluoride Cathode