Accurate Circuit-Level Modelling of IGBTs with Thermal Phenomena Taken into Account