Crystal structure of transcriptional regulator BswR