Optical effects of doped top layers in silicon-on-insulator structures formed by ion implantation