Synthesis and characterization of alternating copolyimides containing aliphatic spacers