SNR calculation for FTIR spectra with hyperSpec package