The role of financial frictions during the crisis: An estimated DSGE model