A microstructure-based model of the deformation mechanisms and flow stress during elevated-temperature straining of a magnesium alloy