Structural and functional analysis of the transcriptional regulator Rv3066 of Mycobacterium tuberculosis