Capacitor for resonant circuits in power applications