Discharging granular material from a rotary kiln in a slumping regime: Theoretical and experimental studies