Dynamics of habitats and macroinvertebrate assemblages in rivers of the Australian dry tropics.