The dissociative electroionization of ammonia and ammonia-d3. I. The NH+ and NH2+ dissociation channels