Erbium environment in silicon nanoparticles