Consumers have been sticking with Procter & Gamble. But if high prices make shoppers trade down, the company has products for them too.