Methodology for the Synthesis of New Multifunctional Polymers for Photorefractive Applications