Pressure-induced effects on elastic and mechanical properties of TiC and TiN: A DFT study