Polycarboxylic acids or polyhydroxy compounds in which at least one of the two components contains aliphatic unsaturation the acids or hydroxy compounds containing carbocyclic rings