Study: Exercise preserves brain power into middle age