Post-stroke reorganization of transient brain activity characterizes deficits and recovery of cognitive functions