CSR in a Model of Heterogenous Firms, Financial Constraints and Economic Crisis