From defeat to glory : the first Anglo-Afghan War and the construction of the Victorian military machine, 1837-1851