Procter & Gamble Beats Estimates, but Costs Squeeze Its Margins