A kinetic theory approach to the dynamics of crowd evacuation from bounded domains