Compact empirical modeling of nonlinear dynamic thermal effects in electron devices