Long-term trajectories of decline in cognition and daily functioning before and after stroke