Means for converting reciprocating into rotary motion or vice-versa