A model for nitrite accumulation in soils