Fluoride salt-cooled high-temperature reactor