A compound of the formula I, in which: ** Formula ** A is (a) CHR3>; = CHR2, (b) CH2R3CH2R2 or (c) CHR2; R1 is II and R2 is hydrogen, C1-3 alkyl, C1-3 haloalkyl, C2-6 alkenyl, or CH2ORc; and furthermore, if A is (a) or (b), R2 may also be halogen, NRaRb, CN or ORc; X1 is O or S; X2 is O, or, if A is (a), X2 is O or NRd; R3 is hydrogen or C1-3 alkyl; R4 is halogen, C1-6 alkyl, C3-6 cycloalkyl, C1-6 haloalkyl or C1-6 alkoxy; Ra and Rb are independently hydrogen, C1-3 alkyl or C1-6 acyl; Rc and Rd are independently hydrogen or C1-3 alkyl; Ar is phenyl substituted by 1-3 groups independently selected from halogen, cyano, C1-6 haloalkyl, C1-6 alkyl, C1-6 alkoxy and C3-6 cycloalkyl; n is an integer from 1 to 3; or its pharmaceutically acceptable salts.Un compuesto de la fórmula I, en la que:**Fórmula** A es (a) CHR3>;=CHR2, (b) CH2R3CH2R2 o (c) CHR2; R1 es II y R2 es hidrógeno, alquilo C1-3, haloalquilo C1-3, alquenilo C2-6, o CH2ORc; y además, si A es (a) o (b), R2 puede ser también halógeno, NRaRb, CN u ORc; X1 es O o S; X2 es O, o, si A es (a), X2 es O o NRd; R3 es hidrógeno o alquilo C1-3; R4 es halógeno, alquilo C1-6, cicloalquilo C3-6, haloalquilo C1-6 o alcoxi C1-6; Ra y Rb son con independencia hidrógeno, alquilo C1-3 o acilo C1-6; Rc y Rd son con independencia hidrógeno o alquilo C1-3; Ar es fenilo sustituido por 1-3 grupos elegidos con independencia entre halógeno, ciano, haloalquilo C1-6, alquilo C1-6, alcoxi C1-6 y cicloalquilo C3-6; n es un número entero de 1 a 3; o sus sales farmacéuticamente aceptables.