Fundamentals and advances in magnesium alloy corrosion