Structural basis of activity and allosteric control of diguanylate cyclase.