PepsiCo has reported improved sales for its North America Beverages unit in the second quarter of 2018.