Extreme rain floods Australian towns, strands residents