Changes in river regime after the construction of upstream reservoirs