Consistent physics-based modeling of DC and small-signal behavior of dye-sensitized solar cells under different illumination conditions