The influence of habitat heterogeneity on freshwater bacterial community composition and dynamics.