Analytical Modeling of Switching Characteristics of the SiC MOSFET Based on Finite State Machine