Vibrational spectra of water complexes with H2, N2, and CO