Reciprocating-piston machines or engines with rotating cylinders in order to obtain the reciprocating-piston motion