Quantum dot solar cells and electrochemical doping of QD films