Structural, elastic, and high-pressure properties of cubic TiC, TiN, and TiO.