Risk Shocks and Corporate Policies: A Text-Based Analysis