A unified framework for stability of channel bifurcations in gravel and sand fluvial systems