On thermal transport by phonons in bulk and nanostructured semiconductor materials