Recycling hot gases resulting from scrap smelting works