Genetic variation of ascaridoid worms with different life-cycles