Ecology of earthworms in riparian habitats