Magnetic core effects on the high-frequency behavior of transformers