gold, silver futures end the week higher