where was the internal combustion engine invented