Quantum efficiency of a solar cell