Axial temperature effects in electromigration