Text this: Investigation of the Influence of Thermodynamic and Kinetic Flexibility of Polymer Chains in Thermoplastic Polyimides on Their Thermal and Mechanical Properties