gold ends 0.1% higher at $1,766.40 an ounce