Corrosion of thin hard PVD coatings