Calibration of the Herschel SPIRE Fourier Transform Spectrometer