biogas formation diagram