Synthesis, structure and optical properties of GaN nanocrystals prepared by sequential ion implantation in dielectrics