Loneliness drives cognitive impairment, can lead to shorter life, study suggests