Expecting the World: Perception, Prediction, and the Origins of Human Knowledge