Transition States of Nanocrystal Thin Films during Ligand-Exchange Processes for Potential Applications in Wearable Sensors.