The common origin of immune and neuroendocrine systems