Crystal structure of a bacterial repressor protein