The Role of Search Frictions and Bargaining for Inflation Dynamics