Vulnerability measures for flood and drought and the application in hydrometric network design