Essays on labor demand