Anodizing Treatments for Magnesium Alloys and Their Effect on Corrosion Resistance in Various Environments