Thermal transport in semiconductor nanostructures, graphene, and related two-dimensional materials