gold ends 0.5% higher at $1,696 an ounce