Hydrogen bonding in poly(amic acid)s