Foreign direct investment, commitment institutions, and time horizon: how some autocrats do better than others