Optical characterization of nanocomposite polymer formed by ion implantation of boron