The effect of NH3 plasma pre-treatment on the properties of TiN coatings produced by plasma-enhanced chemical vapor deposition (PECVD)