Physical properties evolution on ternary and quaternary carbonitride coatings