PepsiCo has posted rises in both sales and profits for its third quarter, driven in part by the acquisition of its two anchor bottlers earlier this year.