A compound of formula (I) or salts thereof, wherein R1, R2, R3, R4, n and X are as defined in the specification; a process for preparing such compounds, a pharmaceutical composition comprising such compounds; and the use of such compounds in medicine.