Empirical essays on labor-force participation, matching, and trade