Theory of resonant-transfer circuits