Analysis of the mechanisms of bioelectrochemical methane production by mixed cultures