High temperature phase behavior of 2D transition metal carbides