Immune mechanisms of pain and analgesia