Thousands flee as floods hit Australian inland towns