Impact of host sex and group composition on parasite dynamics in experimental populations