Three essays on labor market dynamics in Brazil