A framework for assessing freshwater sustainability at the river basin scale