Gold prices rise 0.5% to $1,276.70 an ounce