gold tops $1,790 to end at over six-week high