A flux analysis of multiple junction solar cells: The general equations, with computations for an n-CdS/n-GaAs photoanode