Punishing winds, torrential rains and powerful ocean swells have inundated large areas of Australia’s two most populous states, driving thousands of people from their homes and killing at least fou