Effective discharge and the design of channel maintenance flows for gravel-bed rivers