Measurements of the prevalence of viral infections