Discuss the theoretical principles underlying the operation of a Stirling engine and its potential advantages and limitations compared to conventional internal combustion engines.