Influence of nanopores on molecular polarizability and polarization currents in epoxy nanocomposites