Analysis of the static and small-signal behavior of dye-sensitized solar cells through electrical characterization and physics-based simulations