Acids or hydroxy compounds containing cycloaliphatic rings