Engineering economical membrane materials for aggressive sour gas separations