An independent commission in Afghanistan has blamed poor leadership for the fall of the city of Kunduz to the Taliban.