Aromatic polycarboxylic and carboxylic acids