Analysis of switching characteristics of IGBT and SiC modules in automotive electronics influenced by stray inductance