The population dynamics of acquired immunity to helminth infection: Experimental and natural transmission