wherein R1, R2, R3, R4, R6, X1, and X2 have any of the values defined in the specification, and pharmaceutically acceptable salts thereof, that are useful as agents in the treatment of diseases and conditions, including inflammatory diseases, cancer, and AIDS. Also provided are pharmaceutical compositions comprising compounds of formula (I).