Intermediates in the photooxidation of ammonia