Simulation of Bulk and SOI Digital Circuits Including Self-Heating Effects