Combustion analysis and molecular formula determination