Development of functionalized nanostructured polymeric membranes for water purification