Labor markets and the demand for foreign direct investment