Gold settles at a more than two-week high