Comparison of model fitting and gated integration for pulse shape discrimination and spectral estimation of digitized lanthanum halide scintillator pulses