by reduction of nitrogen-to-oxygen or nitrogen-to-nitrogen bonds