Synthesis and characterization of an organic co-polymer for photovoltaic application