Revealing the effects of the non-solvent on the ligand shell of nanoparticles and their crystallization.