A compound of formula (I) or a pharmaceutically acceptable derivative thereof, (formula 1) wherein R1, R2, R3, R4, R5, X, m and n are defined in the specification a process for preparing such compounds a pharmaceutical composition comprising such compounds and the use of such compounds in medicine.