The Role of Energy Levels in Semiconductor‐Electrolyte Solar Cells