Analysis, optimization, and applications of the liquid piston heat engine through design and empirical modeling