Population dynamics in echinococcosis and cysticercosis: biological parameters of Echinococcus granulosus in dogs and sheep