Behavioral management of chronic pain