Effects of ion irradiation on cobalt nanocomposite