Recombination of carriers in quantum well solar cells