Thermodynamic, dynamic and flow friction analysis of a Stirling engine with Scotch yoke piston driving mechanism