Whole MILC: generalizing learned dynamics across tasks, datasets, and populations