Advances in the electron diffraction characterization of atomic clusters and nanoparticles