Corrosion Behavior and Mechanism of Carbon Ion-Implanted Magnesium Alloy