Cyanate ester-nanoparticle composites as multifunctional structural capacitors