gold ends 0.3% lower at $1,663.10 an ounce