Antiferromagnetic NiO atomic chains for information storage and the enhancement of inter-chain spin coupling by CO adsorption