The role of social support in cognitive and emotional functioning among older adults