Two of music’s powerful visionaries died this week. The songs they meticulously constructed offered an escape their makers struggled to realize in their own lives.