Structure of poly(acrylic acid), poly(methacrylic acid) and gelatin solutions