Stability of TiN and fast synthesis of rutile from TiN and CuO by shock compression