Spectroscopic study of the reaction of active nitrogen with some organometallic compounds