General Stanley McChrystal has said he takes full responsibility for the unflattering comments about the Obama administration attributed to his staff, in his first account of his resignation as commander of forces in Afghanistan.