Synthesis and performance evaluation of terpolymer high temperature retarder for oil well cement