Consumers spend to get ahead of price rises