Simultaneous removal of CO2 and H2S from coalbed methane in a membrane contactor