Chronic pain impairs cognitive flexibility and engages novel learning strategies in rats