The Influence of Hydrogen Bonds and Ionic Interactions on the Properties of Carboxyl-containing Copolymers and Ionomers Based on Them