Thiocyanate-capped PbS nanocubes: ambipolar transport enables quantum dot based circuits on a flexible substrate.