The present invention relates to compounds of formula (I): and pharmaceutically acceptable salts thereof, wherein R1-R5 and n are as defined herein. The invention also relates to pharmaceutical compositions comprising these compounds, methods of using these compounds in the treatment of various diseases and disorders, processes for preparing these compounds and intermediates useful in these processes.