Gold futures top $1,230 an ounce for highest finish in nearly 3 months