Ecological Correlates of Species Richness in Three Guilds of Lotic Macroinvertebrates