Certain compounds of formula (I), or a pharmaceutically acceptable salt thereof, or a solvate thereof, wherein R 1 , R 2 , P, P', n, p, q, r and s are as defined in the specification, a process for preparing such compounds, a pharmaceutical composition comprising such compounds and the use of such compounds and composition in medicine.