Stress, phase stability and oxidation resistance of ternary Ti–Me–N (Me = Zr, Ta) hard coatings