Carter's presidency was marred by the Iran hostage crisis, but his work in the decades after leaving office won him global acclaim