Impact of carrier dynamics on the photovoltaic performance of quantum dot solar cells