Effects of a cognitive-behavioral pain-management program