Heating effects in nanofocusing metal wedges