Determination of temperature and concentrations of main components in flames by fitting measured Raman spectra