Nitrogen emission in reactive magnetron sputtering plasmas during the deposition of titanium nitride thin film