The political economy of exchange rate stability during the gold standard. The case of Spain, 1874-1914