Environmentally friendly anodization on AZ31 magnesium alloy