Flexible Prices, Labor Market Frictions, and the Response of Employment to Technology Shocks