Dicarboxylic acids and dihydroxy compounds the acids or hydroxy compounds containing carbocyclic rings