Nanofiltration for separation and purification of saccharides from biomass