Ab initio molecular orbital calculations of the infrared spectra of interacting water molecules part 2. complexes of water with carbon monoxide and nitrogen