Ab initio study of energies, structures and vibrational spectra of the complexes of water with carbon oxysulfide and nitrous oxide