Discharge and sediment supply controls on erosion and deposition in a dynamic alluvial channel