Combinatorial determinants of tissue-specific transcription in B cells and macrophages