A mass balance model to estimate the rate of composting, methane oxidation and anaerobic digestion in soil covers and shallow waste layers.