Modification of the structure and composition of tin oxide by ion implantation