The Influence of Soil Biodiversity on Hydrological Pathways and the Transfer of Materials between Terrestrial and Aquatic Ecosystems