Synthesis and Characterization of Novel Polyurethanes and Polyimides