The Role of the Source and Drain Contacts on Self-Heating Effect in Nanowire Transistors