Structure of transcriptional regulator TetR1