Comparative study of polypyromellitimides prepared by various methods