Napoleon's hat sells for $2.4 million