Influences of substrate composition on stream habitat and macroinvertebrate communities