Heterogeneous Beliefs and Prediction Market Accuracy