Polymer nanocomposites as dielectrics and electrical insulation