High-speed resonant gate driver with controlled peak gate voltage for silicon carbide MOSFETs