Reduction and control of flux decline in cross-flow membrane processes modeled by artificial neural networks and hybrid systems