Behaviour of AZ31 magnesium alloy during compression at elevated temperatures