Effects of deformation parameters on microstructure and mechanical properties of magnesium alloy AZ31B