KNIFE: Distilling Reasoning Knowledge From Free-Text Rationales