Weekly hydropower scheduling of cascaded reservoirs with hourly power and capacity balances