Sources of small-scale variation in the invertebrate communities of headwater streams