Bogie hearth furnace for heat treatment