Resonance on Coils Excited by Square Waves: Explaining Tesla Transformer