Ecological vulnerability analysis: a river basin case study