Membrane applications for biogas production processes and purification: an overview on a smart alternative for process intensification