Design and synthesis of chromophores and polymers for electro-optic and photorefractive applications