Imperial history has lessons for the West and Afghanistan :