A distributed model predictive control approach for the control of irrigation canals