Biogas purification for fuel cells application