The role of riparian vegetation for environmental protection