Polyimide Foams from Powder: Experimental Analysis of Competitive Diffusion Phenomena