To predict the future, the brain has two clocks