Why do inductors and capacitors store energy