Evaluating mechanical properties and crack resistance of CrN, CrTiN, CrAlN and CrTiAlN coatings by nanoindentation and scratch tests