Electroactive Polyimides: Synthesis, Characterization and Photophysics