gold ends at a 2-week high, turns higher week to date