Synthesis of a highly thermally stable octupolar polyimide for nonlinear optics.