Impact of climate change in the flow regimes of the Upper and Middle Amazon River