Enabling foil windings of medium-frequency transformers for high currents