Mechanical unit for producing an electrical current used in early telephones in the late 19th and early 20th centuries