A study of carbon-implanted silicon for light-emitting diode fabrication