gold gains $15 to end at three-month high