Charting lattice thermal conductivity for inorganic crystals and discovering rare earth chalcogenides for thermoelectrics