Analysis of Historical Meteorological Drought and Flood Hazards in the Area of Shanghai City, China, in the Context of Climatic Change