Typhoon Dolphin drenches Shanghai