Crystal structure of an XRE family protein transcriptional regulator from Mycobacterium smegmatis