Structure of transcriptional regulator TetR