These are the types of companies Warren Buffett says you should invest in during times of inflation