The present invention provides compounds of the formula:
or pharmaceutically acceptable salts, solvates or prodrugs thereof,
wherein p, Ar, R
1
, R
2
, R
3
, R
a
, R
b
, R
c
, R
d
and R
e
are defined herein. Also provided are pharmaceutical compositions, methods of using, and methods of preparing the compounds.