Coating made of chromium nitride