Compounds of the general structural formula (I) and (II) and use of the compounds and salts and hydrates thereof, as therapeutic agents are disclosed. Treatable diseases and conditions include cancers, inflammatory diseases and conditions, and immunodeficiency diseases.