Renewal theory and the sequential design of experiments with two states of nature | Synapse