The global financial crisis of 1825 foreshadowed the problems of emerging markets today