On the adaptation of ticks to the habits of their hosts