Modeling texture evolution during hot rolling of magnesium alloy AZ31