PepsiCo earnings beat expectations as price hikes boost snack and beverage sales