Dipyridyl functionalized polysulfones for membrane production