Characterization and modeling of self-heating in DMOS transistors