Self-heating effects in nanowire transistors