P&G to raise prices as costs increase