The role of a polyimide foam stabilizer in achieving uniform cell structure