Assessing the effects of adaptation measures on optimal water resources allocation under varied water availability conditions