Gold ends at highest in a year as dollar and Treasury yields sink for the week