Memos giving CIA agents the all-clear for the "extreme interrogation" of terror suspects have been released by the White House.