Boundary flux modelling for purification optimization of differently-pretreated agro-industrial wastewater with nanofiltration