Ductility enhancement in AZ31 magnesium alloy by controlling its grain structure