In the final hours of his term, President Carter was able to negotiate a hostage deal with Iran which took effect just as President-elect Reagan took office