Atomistic Modeling of Photoelectric Cells for Artificial Photosynthesis