Sulfide and sulfate inhibition of methanogenesis