The present invention relates to compounds of Formula (I), or a pharmaceutically acceptable salt thereof; methods of treating diseases or conditions, such as cancer, using the compounds; and pharmaceutical compositions containing the compounds, wherein Q, X
1
, X
2
, R
1
and Z are as defined herein.