Search and Bargaining in the Product Market and Price Rigidities