Destructive distillation of solid carbonaceous materials with indirect heating, e.g. by external combustion with moving charge