Combining taxonomy and function in the study of stream macroinvertebrates