Active inference, Bayesian optimal design, and expected utility