Emerging progress of chemical-based coating for the corrosion protection of magnesium alloys: a review