The three stages in the combustion of gas in an internal combustion engine are combustion, thermal energy, and _____ energy