Treatment of tanning effluent using nanofiltration followed by reverse osmosis