Optimal reservoir dimensioning under climate change