Optimal Taxes and the Structure of Preferences