Biological formation of methane