The battle between the blue and the red intensified this week as PepsiCo and The Coca-Cola Co published their second-quarter and first-half results.