Patterns of bacterial communities in aquatic ecosystems