Influence of the nature of solvents on the kinetics of cyclization of polyamic acids to polyimides