Predicting natural behavior from whole-brain neural dynamics