Measuring and modelling to optimise a salinity monitoring network for use in the optimal control of flushing