Quantum computation of molecular vibrations