Curve fitting in Fourier transform near infrared spectroscopy used for the analysis of bacterial cells