Stanford researchers help build more resilient water supplies