Real-time control of stormwater detention basins as an adaptation measure in mid-size cities