Transmission systems in or for locomotives or motor railcars with reciprocating piston steam engines