Engineers capture self-assembly of nanocrystals in real time