Shanghai is the most vulnerable major city in the world to serious flooding, a study suggests.