Rarely have a man and his hat been so linked in the collective imagination as Napoleon and his black, two-cornered hat.