Bayesian Teaching Enables Probabilistic Reasoning in Large Language Models