Full-dimensional quantum calculations of vibrational spectra of six-atom molecules. I. Theory and numerical results.