Thermal phenomena in nanostructured materials & devices