Preparation and characterization of poly (N-vinyl imidazole) gel-filled nanofiltration membranes