Entrainment from a bed of particles by thermal convection