Surface and size effects of magnetic properties in ferromagnetic nanoparticles