Finite-size versus surface effects in nanoparticles