Neuroendocrine function and endogenous opioid peptide systems in chronic pain