Australia to declare floods a national emergency