PepsiCo's profits have come in flat for the first half of its fiscal year, despite top-line gains across its worldwide snacks and beverage businesses.