Quantitative relation of discontinuous and continuous Mg17Al12 precipitates with corrosion rate of AZ91D magnesium alloy