Improved antifouling properties of polyamide nanofiltration membranes by reducing the density of surface carboxyl groups.