Effects of riparian and floodplain vegetation on river patterns and flow dynamics