Polymer dielectrics sandwiched by medium-dielectric-constant nanoscale deposition layers for high-temperature capacitive energy storage