Coca-Cola and PepsiCo are building out their brand portfolios to respond to changing consumer tastes.