Nanoporous materials with a general isotropic plastic matrix: exact solution under isotropic loadings