Synthetic polymeric membranes for gas and vapor separations