Permeability of polymer nanocomposites