New method for producing high-performance thermoplastic polymeric foams