Phases of denitrification following oxygen depletion in soil