Energetics of methanogenesis studied in vesicular systems