Transmission Dynamics of Pathogens from the Population Genetics Perspective