The former commander of NATO and U.S. forces in Afghanistan talks about his new book 'My Share of the Task,' and his controversial resignation