Spotting signs of depression and loneliness in the elderly