Designed Ti/TiN sub-layers suppressing the crack and erosion of TiAlN coatings