Machine Teaching for Bayesian Learners in the Exponential Family