Concepts of herd protection and immunity