Plastic behavior of composites and porous media under isotropic stress