biogas production and biogas upgrading