Resource or crisis? Cognitive functioning after widowhood and why paid work status matters