Species-specific responses of two benthic invertebrates explain their distribution along environmental gradients in freshwater habitats