how did the electric telegraph change communication