ferroresonant switching circuit