Evaluation of membrane processes for acid gas treatment