Synthesis of a novel comb micro-block hydrophobically associating copolymer for Ca2+/Mg2+ resistance