Controlling the motor activity of a transcription-repair coupling factor: autoinhibition and the role of RNA polymerase