Nanofiltration membrane constructed by tuning the chain interactions of polymer complexation