Investigation of the adhesion of NbN coatings deposited by pulsed dc reactive magnetron sputtering using scratch tests