Hydrophobically associating terpolymers of acrylamide, alkyl acrylamide, and methacrylic acid as EOR thickeners