Role of endogenous pain modulation in chronic pain mechanisms and treatment