Synthesis and performance of a polymeric scale inhibitor for oilfield application