Polymer nanodielectrics and sensors for capacitor and cable applications