Novel polymeric membranes for separation of hydrocarbons