Spin- S impurities with XXZ anisotropy in a spin- 12 Heisenberg chain