Stability domain of Ti(CN) in Ti–TiC–TiN