Application of radioactive ion beams in the study of implanted layers