Ag and S ion implantation: chemical and physical investigation