Autonomic–endocrine–immune interactions in acute and chronic pain