On changes in mechanical properties of polyamic acid during solid phase chemical imidization