Relationship between mechanical properties of thin nitride-based films and their behaviour in nano-scratch tests