In countries all over the world, rates of loneliness are skyrocketing. How did it become a condition of modern life?