Reversible phase transfer of quantum dots by gas bubbling