Thermal Transport In Nanoporous Materials For Energy Applications