The influence of surface treatment on the anodizing of magnesium in alkaline solution