Correlation between spinal cord stimulation analgesia and cortical dynamics in pain management