Numerical analysis of Si and GaAs solar cells exposed to space radiation