PepsiCo has reported a lift in both operating profit and sales for its third quarter.