Nanofiltration of salt solutions and landfill leachate