Correlation of interface structure with adhesive strength of ion-plated TiN hard coatings