Recent Progress in Theoretical Prediction, Preparation, and Characterization of Layered Ternary Transition-Metal Carbides