Modeling of thermal and mechanical behavior of a magnesium alloy AZ31 during electrically-assisted micro-tension