Studies on polymeric membranes for separation of organic intermediates of fermentation broth and beverage and functional hydrogels for sustained drug release