EcoFlex: an integrated simulation–optimization framework for assessing river ecological flow time series | Synapse