The former Afghan president says he was extremely unhappy with aspects of US military behaviour in the country.