P&G beats quarterly sales estimates, warns of cost pressures