Methane production and consumption in anoxic marine sediments