PepsiCo has posted a strong lift in half-year profits on steady sales, with its share of the US drinks market improving in the period.