Dollar climbs from four-week low as U.S. stocks decline