Mechanism of transcription modulation by the transcription-repair coupling factor