The macroeconomic context and investment: Latin America since 1980