Interaction between nitrogen and single titanium clusters