Prediction of response to treatment in chronic pain patients