Particle-size segregation in dense granular avalanches