Quantum thermal transport in nanostructures