Engines with variable distances between pistons at top dead-centre positions and cylinder heads {by means of variable crankshaft position}