Gold and silver were extracted from their ores by using?