A calculation of the rovibrational spectra of the H3/+, H2D+and D2H+molecules