gold, silver end lower but score weekly gain