Characterization of nanoparticles through medium-energy ion scattering