Effect of structural isomerism and polymer end group on the pH-stability of hydrogen-bonded multilayers.