Interface Electrostatics of Solid-State Dye-Sensitized Solar Cells: A Joint Drift-Diffusion and Density Functional Theory Study