Environmental legacy contributes to the resilience of methane consumption in a laboratory microcosm system