General and Localized Corrosion of Magnesium Alloys: A Critical Review