Beneficial Effects of Improvement in Depression, Pain Catastrophizing, and Anxiety on Pain Outcomes: A 12-Month Longitudinal Analysis.