Microdeformation in thin films of 3FDA/PMDA polyimide and polyimide nanofoams