Gold, silver mining stocks post gains, but week ends down