Torrential rain triggers flash floods in Sydney