Application of nitrogen in a cobalt-silicide-forming system