Toxicity and neuroendocrine regulation of the immune response: a model analysis