Correlation between the High-Temperature Local Mobility of Heterocyclic Polyimides and Their Mechanical Properties