a cable is for connecting two electrical devices