Before the early 20th century, treatments for infections were based primarily on medicinal folklore. When were some kinds of dyes first used?