A Decomposition of Forecast Error in Prediction Markets