Size-effects in clusters and free nanoparticles probed by soft X-rays