Exact quantum dynamics study of the ion-molecule reaction and comparison with quasiclassical trajectory calculations