The structure of the cofactor binding GAF domain of the nutrient sensor CodY from Clostridium difficile