Transparent AlN layers formed by metal plasma immersion ion implantation and deposition