Space charge effects on the maximum efficiency and parametric design of a photon-enhanced thermionic solar cell