Thyroid hormone and retinoic acid receptors form heterodimers with retinoid X receptors on direct repeats, palindromes, and inverted palindromes.