capacitors store energy as electric fields