A novel stress-induced nucleation and foaming process and its applications in making homogeneous foams, anisotropic foams, and multilayered foams