when was the combustion engine invented