Autonomy and integration in complex parasite life cycles