The role of macroeconomic factors and development indicators in attracting foreign direct investment: an empirical study of upper middle-income countries | Synapse