The disclosure relates to compounds of formula (I):wherein R1, R2, and n are as defined in the disclosure, and addition salts solvates and hydrates thereof. The disclosure also relates to the preparation method of said compounds and to the use of the same in therapeutics.