When were the Spanish dollar and Mexican peso no longer accepted as legal tender