Electronic structure and mechanical properties of resistant coatings: The chromium molybdenum nitride system