PepsiCo earnings beat expectations, boosted by North American beverage unit