gold closes 1.1% lower at $1,318.40 an ounce