Treatment of an in situ oil sands produced water by polymeric membranes