Eating spicy food makes people more eager to buy colourful goods, according to research.