gold futures end the week with a 5.2% gain