Scale-independent assessment of discharge reduction and riparian disconnectivity following flow regulation by dams