Gold logs 2.5% weekly rise