Gas phase reactions diagnosed by mass analysis in photo-assisted chemical vapor deposition of silicon nitride