Effect on the formation of hydrogen bonds of the structure of units containing carboxyl groups in copolymers of unsaturated carboxylic acids with styrene