Computational investigation of the effect of spin-crossing on the dissociation of chloro- and dichlorobenzene on the silicon (100) surface and the mechanical and electronic properties of cobalt doped zinc oxide