Being socially active in 50s and 60s linked to lower risk of illness later in life, researchers say