Nonequilibrium Green's function method for thermal transport in junctions.