In situ study of the formation mechanism of two-dimensional superlattices from PbSe nanocrystals