Quantum dot flexible capacitors