First-Principles Theoretical Study Of Lattice Thermal Conductivity Of Crystals And Earth Minerals At High Temperatures And Pressures