Crystal structure of a bacterial signalling protein