Factors and mechanisms of archaeal transcription termination and DNA repair