Comparison of thermal stability in MAX211 and 312 phases