A review of polymeric composite membranes for gas separation and energy production