Experimental analysis of the segregation of dry avalanches and implications for debris flows