Production and application of porous membrane for removal of contaminants in treated water