Ti–N phases formed by reactive ion plating