Experimental and computational studies of Criegee intermediate reactions with NH3 and CH3NH2.