Synthesis of Bifunctional Photorefractive Polymers with Net Gain: Design Strategy Amenable to Combinatorial Optimization