Use of carbon dioxide to enhance the brine purification and flocculation performance of PAM flocculants