PepsiCo has booked an increase in third-quarter profits driven by top-line gains in its snacks and drinks divisions and reaffirmed its full-year earnings guidance.