Pyrazole compounds of formula (Ia) or (Ib) and pharmaceutically acceptable salts thereof, wherein Ra, Rb, Rc, Rd, Y1, Y2, Y3, Y4, Y5, Z, R1, R2, n and R3 have one of the meanings as indicated in the specification and claims, to their use as medicaments, to pharmaceutical formulations containing the compounds and to pharmaceutical formulations containing the compounds in combination with one or more active substances.