The invention also relates to a method of preparation of the compounds of general formula (I) as defined previously, characterized in that a compound of general formula (II): in which n, R1 and R2 are as defined previously, is submitted to the action of an organometallic compound containing from 1 to 4 carbon atoms so as to form the compounds of formula (I) in which X is a hydroxyl group and Y is