How was the dollar affected when the U.S adopted the gold standard?