Nonequilibrium Green’s function method for quantum thermal transport