Opposite effects of anthelmintic treatment on microbial infection at individual versus population scales