Assessment of ecosystem quality and its impact on resource allocation in the Middle Snake River sub-basin