Logic of the Escherichia coli cell cycle