Effects of processing variables on microstructure formation in AZ31 magnesium alloys solidified with an electromagnetic vibration technique