Flooding and flow path selection on alluvial fans and deltas