The population dynamics of competition between parasites