Effect of metal halides on thermal, mechanical, and electrical properties of polypyromellitimide films†