Reactive magnetron sputter deposition of CNx films on Si(001) substrates: film growth, microstructure and mechanical properties