Behavioral methods for chronic pain and illness