An effective computational approach to the calculation of the vibration-rotation spectra of triatomic molecules