Gold prices end at 1-week low as dollar recovers