Synthesis and characterization of side-chain liquid crystalline polyesters and polyurethanes