Crystal structure of a bacterial quorum-sensing transcription factor complexed with pheromone and DNA