PepsiCo has posted a slight lift in sales and profits for its latest quarter, despite slipping operating profits at its Americas Beverages unit.